package com.bcntouch.touch2act.Opine;

public class Opinion {

	private String	id;
	private String	question;
	private String	category;
	private int		numVotes;
	private int		numPositiveVotes;
	private int		numNegativeVotes;
	private int		haveVoted; // 0:NO; 1:YES
	private int		yourVote; // 0:NO; 1:YES
	private int		isYours; // 0:FALSE; 1:TRUE
	
	public Opinion(String id,
				   String question,
				   String category,
				   int numVotes,
				   int numPositiveVotes,
				   int numNegativeVotes,
				   int haveVoted,
				   int yourVote,
				   int isYours) {
		
		this.setId(id);
		this.setQuestion(question);
		this.setCategory(category);
		this.setNumVotes(numVotes);
		this.setNumPositiveVotes(numPositiveVotes);
		this.setNumNegativeVotes(numNegativeVotes);
		this.setHaveVoted(haveVoted);
		this.setYourVote(yourVote);
		this.setIsYours(isYours);
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}
	
	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public int getNumVotes() {
		return numVotes;
	}

	public void setNumVotes(int numVotes) {
		this.numVotes = numVotes;
	}

	public int getNumPositiveVotes() {
		return numPositiveVotes;
	}

	public void setNumPositiveVotes(int numPositiveVotes) {
		this.numPositiveVotes = numPositiveVotes;
	}

	public int getNumNegativeVotes() {
		return numNegativeVotes;
	}

	public void setNumNegativeVotes(int numNegativeVotes) {
		this.numNegativeVotes = numNegativeVotes;
	}

	public int getHaveVoted() {
		return haveVoted;
	}

	public void setHaveVoted(int haveVoted) {
		this.haveVoted = haveVoted;
	}

	public int getYourVote() {
		return yourVote;
	}

	public void setYourVote(int yourVote) {
		this.yourVote = yourVote;
	}

	public int getIsYours() {
		return isYours;
	}

	public void setIsYours(int isYours) {
		this.isYours = isYours;
	}
}
